package com.ljx.lambda;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.function.BiPredicate;
import java.util.function.Consumer;
import java.util.function.Function;
import java.util.function.Supplier;

/**
 * @author LJX
 * @Description: TODO
 * @Date: 2022/11/4 19:27
 * @Version 1.0
 */
public class LambdaTest{
	public static void main(String[] args) {
		BiPredicate<String,String> biPredicate=String::equals;
		boolean test = biPredicate.test("jj", "jj");
		System.out.println(test);
	}




}
@AllArgsConstructor
@NoArgsConstructor
@Data
class Stu{
	private String name;

}